You are here: NanoScope Software User Guide > Recipes > The Recipes Cookbook > Site Re-Order Recipe

Site Re-Order Recipe

Before following the recipe instructions in this section, first make sure you are familiar with Basic Recipe Techniques.

The example recipe below, Site-Order Recipe.rcx , demonstrates how to control the order that a list of sites are imaged by employing an external site order file. A site order file is nothing fancier than a simple comma-delimited text file which tells the recipe the order with which the sites in the recipe should be imaged. Thus Site 1 does not necessarily have to be the first site that is imaged.

This technique may be particularly attractive to manage recipes where a sample may be known to have certain sites that may damage the tip. The user may wish to image these samples last so that if there is a problem with the tip-sample interaction on a known dodgy site, it will not interfere with the rest of the sites in the recipe run.

This recipe will:

Figure 1: Site Re-order recipe

Create a new recipe

  1. Create a new recipe and save it as Site-Order Recipe.
  2. Create appropriate capture and report directories.
  3. Set up the Real-time Configuration and program the Alignment / Origin location.

Create the Site Order Structure

  1. Create a Site Order node as a child node to the Alignment / Origin 1 node. This new node has a default name of Site Order File 1.
  2. Create appropriate Site, Measurement and Capture Image nodes under the Site Order File 1 node:

A site order file should have at least three columns:

  1. Create a new file in Notepad. Save it as site order file.csv:

NOTE: Site order files MUST have .csv as the file suffix.

Because there are six sites in the recipe, the site order file should have six rows, each with three columns. In this case, the recipe will image the third site first, followed by the second, etc. The third column lists the name of the captured image.

  1. The CSV File Name parameter of the Site Order File 1 node must indicate the directory path to the saved site order file. Click on the "…" marker to the right of the field and browse for the site order file.csv file:

Run the Recipe

When the recipe run reaches the Site Order node, the subsequent order of the sites and their measurements will be reordered as directed by the site order file.

The captured images will appear in the order which are imaged:

 

www.bruker.com Bruker Corporation
www.brukerafmprobes.com 112 Robin Hill Rd.
nanoscaleworld.bruker-axs.com/nanoscaleworld/ Santa Barbara, CA 93117
   
  Customer Support: (800) 873-9750
  Copyright 2010, 2011. All Rights Reserved.